package com.news.news.modle;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@Component
public class Collect {
    Integer id;
    Integer userid;
    Integer newsid;
    String name;
    @JsonFormat(pattern = "yyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date operTime;//评论时间
}
